package com.xiamo.enums;

import lombok.Getter;

/**
 * @Description:  状态枚举
 * @return: enum
 * @Author: dawu
 * @Date: 2024-04-12 16:17
 */

@Getter
public enum AllStatusEnum {

    FAIL(0, "失败"),
    SUCCESS(1, "成功"),
    EXCEPTION(2, "异常")
    ;

    private Integer value;
    private String desc;

    AllStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
